package com.jse.oo.design.pattern.behavioral.strategy.simple;

/**
 * @author : zenghua
 * @version : v0.1 Context.java
 * @since : 2017/8/15 20:38
 */
public class Context {
	private IStrategy strategy;

	public void execute() {
		strategy.action();
	}

	public void setStrategy(IStrategy strategy) {
		this.strategy = strategy;
	}
}
